package com.ldzn.lll.mygulimall.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 1.整合mybatis-plus
 *   1) 导入依赖
 *   2） 配置
 *      a)配置数据源：导入mysql驱动-->新建application.yml中配置数据源
 *      b)配置mybatis-plus：使用@MapperScan注解-->告诉mybatis-plus映射文件位置
 *
 */
@MapperScan("com.ldzn.lll.mygulimall.order.dao")
@SpringBootApplication
@EnableDiscoveryClient
public class MallOrderApplication {

	public static void main(String[] args) {
		SpringApplication.run(MallOrderApplication.class, args);
	}

}
